<?php

$api = app('Dingo\Api\Routing\Router');

$api->version('V1',[
    'namespace'  =>'App\Http\Controllers\Api\V1\Frontend\Test'
],function ($api){
    $api->group([
        'prefix'     => 'frontend',
        'middleware' => [

        ]
    ],function ($api){
        $api->group([
            'prefix' => 'test'
        ],function ($api){
            //测试数据
            $api->get('send','TestController@send');
        });
    });
});
